﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FactoryPattern.AbstractFactory.Implements;

namespace FactoryPattern.AbstractFactory.Abstract
{
    public class ChinaFamilyFactory:AbstactFamilyFactory
    {
        /// <summary>
        /// 中国男人
        /// </summary>
        /// <returns></returns>
        public override Man CreateMan()
        {
            return new ChinaMan();
        }

        /// <summary>
        /// 中国女人
        /// </summary>
        /// <returns></returns>
        public override Woman CreateWoman()
        {
            return new ChinaWoman();
        }
    }
}
